using Web.App.Infrastructure.ApplicationMessages.Contracts;

namespace Webshop20.Application
{
    public abstract class ResponseMessageBase : MessageBase, IResponseMessage
    {
        protected IDomainMessage domainMessage;

        public IDomainMessage DomainMessage
        {
            get { return domainMessage; } 
            set { domainMessage = value;}
        }

        protected ResponseMessageBase(IDomainMessage domainMessage)
        {
            this.domainMessage = domainMessage;
        }
    }
}